<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = '保单管理';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="insurance-policy-index">

    <h1><?= Html::encode($this->title) ?></h1>
    
    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'columns' => [
            'id',
            'policy_id',
            'account_type',
            'account_id',
            'provider_id',
            'plan_code',
            // 'issue_date',
            'effect_date',
            'expire_date',
            'insured_amount',
            // 'premium_currency',
            // 'premium_total',
            // 'status',
            // 'create_time',
            // 'pay_time',
            // 'cancel_time',
            'project_name',
            // 'is_bill',
            'price_day',
            'number',
            // 'destination',
            // 'desc',
            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>
</div>
